package cn.sjtu.data_structure.linked_list;

/**
 * @author syo 2319615164@qq.com
 * @description 双向链表节点
 * @date 2024/5/12
 * @Copyright syo
 */
public class Node<E> {
    public E val;
    public Node<E> next;
    public Node<E> prev;
    public Node(Node<E> prev, E val, Node<E> next) {
        this.prev = prev;
        this.val = val;
        this.next = next;
    }
}
